package net.xju_11_12.entity;

import lombok.Data;

@Data
public class Bean01 {

    private Integer bid;
    private String name;


    public void init() {
        System.out.println("实例初始化后调用的方法");
        System.out.println(this.toString());
    }

    public void destroy() {
        System.out.println("实例销毁之前调用的方法");
    }
}
